package com.zbkj.common.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author Your Name
 * @since 2024-12-02
 */
@Data
  @EqualsAndHashCode(callSuper = false)
  @Accessors(chain = true)
@TableName("eb_user")
@ApiModel(value="User对象", description="用户表")
public class User implements Serializable {

    private static final long serialVersionUID=1L;

      @ApiModelProperty(value = "用户id")
        @TableId(value = "uid", type = IdType.AUTO)
      private Integer uid;

      @ApiModelProperty(value = "用户账号")
      private String account;

      @ApiModelProperty(value = "用户密码")
      private String pwd;

      @ApiModelProperty(value = "真实姓名")
      private String realName;

      @ApiModelProperty(value = "生日")
      private String birthday;

      @ApiModelProperty(value = "身份证号码")
      private String cardId;

      @ApiModelProperty(value = "用户备注")
      private String mark;

      @ApiModelProperty(value = "合伙人id")
      private Integer partnerId;

      @ApiModelProperty(value = "用户分组id")
      private String groupId;

      @ApiModelProperty(value = "标签id")
      private String tagId;

      @ApiModelProperty(value = "用户昵称")
      private String nickname;

      @ApiModelProperty(value = "用户头像")
      private String avatar;

      @ApiModelProperty(value = "手机号码")
      private String phone;

      @ApiModelProperty(value = "添加ip")
      private String addIp;

      @ApiModelProperty(value = "最后一次登录ip")
      private String lastIp;

      @ApiModelProperty(value = "用户余额")
      private BigDecimal nowMoney;

      @ApiModelProperty(value = "佣金金额")
      private BigDecimal brokeragePrice;

      @ApiModelProperty(value = "用户剩余积分")
      private Integer integral;

      @ApiModelProperty(value = "用户剩余经验")
      private Integer experience;

      @ApiModelProperty(value = "连续签到天数")
      private Integer signNum;

      @ApiModelProperty(value = "1为正常，0为禁止")
      private Boolean status;

      @ApiModelProperty(value = "等级")
      private Integer level;

      @ApiModelProperty(value = "推广员id")
      private Integer spreadUid;

      @ApiModelProperty(value = "推广员关联时间")
      private LocalDateTime spreadTime;

      @ApiModelProperty(value = "用户类型")
      private String userType;

      @ApiModelProperty(value = "是否为推广员")
      private Integer isPromoter;

      @ApiModelProperty(value = "用户购买次数")
      private Integer payCount;

      @ApiModelProperty(value = "下级人数")
      private Integer spreadCount;

      @ApiModelProperty(value = "详细地址")
      private String addres;

      @ApiModelProperty(value = "管理员编号 ")
      private Integer adminid;

      @ApiModelProperty(value = "用户登陆类型，h5,wechat,routine")
      private String loginType;

      @ApiModelProperty(value = "创建时间")
      private LocalDateTime createTime;

      @ApiModelProperty(value = "更新时间")
      private LocalDateTime updateTime;

      @ApiModelProperty(value = "最后一次登录时间")
      private LocalDateTime lastLoginTime;

      @ApiModelProperty(value = "清除时间")
      private LocalDateTime cleanTime;

      @ApiModelProperty(value = "推广等级记录")
      private String path;

      @ApiModelProperty(value = "是否关注公众号")
      private Integer subscribe;

      @ApiModelProperty(value = "关注公众号时间")
      private LocalDateTime subscribeTime;

      @ApiModelProperty(value = "性别，0未知，1男，2女，3保密")
      private Boolean sex;

      @ApiModelProperty(value = "国家，中国CN，其他OTHER")
      private String country;

      @ApiModelProperty(value = "成为分销员时间")
      private LocalDateTime promoterTime;


}
